#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL.Math;
namespace Cephei.QL.Math.Optimization
{
    /// <summary> 
	/// ! Base class for least square problem
	/// </summary>
    [Guid ("484C1D41-599E-4124-93DF-1D00AFA3DC56"),ComVisible(true)]
	public interface ILeastSquareProblem 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 UInt64 Size {get;}
        /// <summary> 
		/// 
		/// </summary>
		 ILeastSquareProblem TargetAndValue(Cephei.QL.Math.IArray x, Cephei.QL.Math.IArray target, Cephei.QL.Math.IArray fct2fit);
        /// <summary> 
		/// 
		/// </summary>
		 ILeastSquareProblem TargetValueAndGradient(Cephei.QL.Math.IArray x, Cephei.QL.Math.IMatrix grad_fct2fit, Cephei.QL.Math.IArray target, Cephei.QL.Math.IArray fct2fit);
    }   

    /// <summary> 
	/// ! Base class for least square problem Factory
	/// </summary>
   	[ComVisible(true)]
    public interface ILeastSquareProblem_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
    }
}

